﻿#include "component.h"
#include "imgprocess.h"
#include <QString>

void* GetNewComponent()
{
    return new ImgProcess();
}

const char* GetComponentName()
{
    return QStringLiteral("图像处理").toUtf8().data();
}

const char* GetComponentDescription()
{
    QString strDes = "";
    strDes += QStringLiteral("二值化");
    strDes += "\n";
    return strDes.toUtf8().data();
}
